package com.chancingpack.service.impl;

import com.chancingpack.dal.dao.WxForselectDao;
import com.chancingpack.service.WxForselectService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2017/7/21.
 */
@Service
public class WxForselectServiceImpl implements WxForselectService {
    @Autowired private WxForselectDao WxForselectDao;


    public List<Map<String, Object>> selectMapPage(Integer pageSize, Integer pageStart) {

        return WxForselectDao.selectMapPage(pageSize,pageStart);
    }

    public List<Map<String, Object>> selectMapByCustId(String consiId) {
        return WxForselectDao.selectMapByCustId(consiId);
    }

    public Map<String, Object> selectStateA(Integer detailId) {
        return WxForselectDao.selectStateA(detailId);
    }

    public Map<String, Object> selectStateB(Integer detailId) {
        return WxForselectDao.selectStateB(detailId);
    }
    public List<Map<String,Object>> selectStateC(Integer detailId) {
        return WxForselectDao.selectStateC(detailId);
    }

    public List<Map<String,Object>> selectStateD(Integer detailId) {
        return WxForselectDao.selectStateD(detailId);
    }

    public List<Map<String, Object>> selectMap(String consiId) {
        return null;
    }

    public String selectMapByDetailId(int detailId) {
        return WxForselectDao.selectMapByDetailId(detailId);
    }
}
